package com.platform.qujia.param.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @date 2024/1/29
 */
@Setter
@Getter
@ToString
public class OrderPayInfo {
    @NotBlank
    @ApiModelProperty("订单号")
    private String ordNo;
//    @ApiModelProperty("优惠劵id")
//    private String couponUserId;

    // 电子卡
    public static final Integer ORDER_PAY_TYPE_CUSTOMER_CARD = 1;
    //车队卡
    public static final Integer ORDER_PAY_TYPE_FLEET_CARD = 2;
    //实体卡
    public static final Integer ORDER_PAY_TYPE_PHYSICAL_CARD = 3;
    private String orderId;

    private Integer type;

    private BigDecimal amt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer status;

    private String stationName;

    // 油站id
    private Long enterpriseId;

}
